package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;


/**
 * Hystrix dashborc 服务监控
 * 访问路径 http://localhost:9001/hystrix ， hystrix这一级不需要在yml文件中配置
 * 服务监控者路径 http://localhost:8001/actuator/hystrix.stream，看在对应的微服务中actuator/hystrix.stream是怎么配置的，对应修改即可
 */
@SpringBootApplication
// 开启服务监控
@EnableHystrixDashboard
public class HystrixDashboardMain9001 {

    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardMain9001.class,args);
    }
}
